import axios from 'axios'

const upLoadImage = axios.create({
  baseURL: 'http://liufusong.top:8080',
  headers: { 'Content-Type': 'multipart/form-data' }
})

export function upLoadImg (fd) {
  return upLoadImage({
    url: '/houses/image',
    method: 'POST',
    data: {
      fd
    }
  })
}
